package com.zzj.hotel.core.entity;


import java.sql.Blob;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;



@Entity(name="picture")
public class Picture {
	@Id
	@Column(name="picture_id")
	private String picture_id;
	
	@Column(name="picture_name")
	private String picture_name;
	
	@Column(name="picture_file")
	private Blob picture_file;
	
	@Column(name="picture_articleId")
	private String picture_articleId;
	
	@Column(name="picture_classifyId")
	private String picture_classifyId;
	
	@Column(name="picture_author")
	private String picture_author;
	
	@Column(name="picture_authorId")
	private String picture_authorId;
	
	@Column(name="picture_time")
	private String picture_time;
	
	public Picture(String picture_id, String picture_name, Blob picture_file,
			String picture_articleId, String picture_classifyId,
			String picture_author, String picture_authorId, String picture_time) {
		super();
		this.picture_id = picture_id;
		this.picture_name = picture_name;
		this.picture_file = picture_file;
		this.picture_articleId = picture_articleId;
		this.picture_classifyId = picture_classifyId;
		this.picture_author = picture_author;
		this.picture_authorId = picture_authorId;
		this.picture_time = picture_time;
	}
	public String getPicture_id() {
		return picture_id;
	}
	public void setPicture_id(String picture_id) {
		this.picture_id = picture_id;
	}
	public String getPicture_name() {
		return picture_name;
	}
	public void setPicture_name(String picture_name) {
		this.picture_name = picture_name;
	}
	public Blob getPicture_file() {
		return picture_file;
	}
	public void setPicture_file(Blob picture_file) {
		this.picture_file = picture_file;
	}
	public String getPicture_articleId() {
		return picture_articleId;
	}
	public void setPicture_articleId(String picture_articleId) {
		this.picture_articleId = picture_articleId;
	}
	public String getPicture_classifyId() {
		return picture_classifyId;
	}
	public void setPicture_classifyId(String picture_classifyId) {
		this.picture_classifyId = picture_classifyId;
	}
	public String getPicture_author() {
		return picture_author;
	}
	public void setPicture_author(String picture_author) {
		this.picture_author = picture_author;
	}
	public String getPicture_authorId() {
		return picture_authorId;
	}
	public void setPicture_authorId(String picture_authorId) {
		this.picture_authorId = picture_authorId;
	}
	public String getPicture_time() {
		return picture_time;
	}
	public void setPicture_time(String picture_time) {
		this.picture_time = picture_time;
	}
	public Picture() {
	}
	public static final String  PICTURE_ID = "picture_id";
	public static final String  PICTURE_ARTICLEID = "picture_articleId";
	public static final String  PICTURE_CLASSIFYID = "picture_classifyId";
}
